package com.cs.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("address")
public class Address {
    @TableId(value = "address_id", type = IdType.AUTO)
    private Long id;

    @TableField("address_user_id")
    private Long userID;//关联用户id

    @TableField("address_name")
    private String username;//收件人昵称

    @TableField("address_tel")
    private String tel;//收件人电话

    @TableField("address_content")
    private Long type;//收件人地址
}